package com.softWang.system.controller.vo.systemUsers;


import com.softWang.common.validation.InEnum;
import com.softWang.system.constants.DataScopeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel
public class SystemUserDetailResult {

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "用户名，最大长度为60位")
    private String uname;


    @ApiModelProperty(value = "登录账户，最大长度为60位")
    private String loginName;

    @ApiModelProperty(value = "类型，(1.超级管理员，2.创建的普通管理员)")
    private Integer type;

    @ApiModelProperty(value = "所属部门id")
    private Long deptid;

    @ApiModelProperty(value = "状态，0:正常,1:停用")
    private Integer state;

    @ApiModelProperty(value = "手机号号码")
    private String tel;

    @ApiModelProperty(value = "性别，1:男;2:女;0:未知")
    private String sex;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "用户头像")
    private Long avatar;

    private List<Long> roleIds;

    @ApiModelProperty(value = "所属部门名称")
    private String deptName;

    @ApiModelProperty(value = "拥有角色名称")
    private String roleNames;

    @ApiModelProperty(value = "创建人")
    private String cuserName;


}
